import os
from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello():
	return '这是git@osc部署在mopaasV2平台上的Python演示示例，本演示示例以及代码仅供参考，版权木有，翻版不究！'

port = os.getenv('VCAP_APP_PORT', '5000')
if __name__ == "__main__":
	app.run(host='0.0.0.0', port=int(port))